<?php

//配置文件

return [
    // 文件上传默认驱动
    'UPLOAD_DRIVER' => 'qiniu', //设置七牛上传驱动
    'qrcode_back_pic' => 'https://cdn.fledchina.com/16046333117734768', //二维码背景图地址
    'qrcode_back_cleaning_pic' => 'http://cdn.fledchina.com/16049104319737779', //二维码打点背景图
    'qrcode_back_check_pic' => 'http://cdn.fledchina.com/16049103969997015', //二维码巡检背景图
    //'UPLOAD_DRIVER' => 'Local',
    'qiniu' =>[
        'public' => [
            'domain'        => 'http://cdn.fledchina.com/',
            'bucket'        => 'baojie58',
        ],
        'private' => [
            'domain'        => '',
            'bucket'        => '',
        ],
        'accessKey'    => 'XXIFDSFml6O1vjrvvggHiKd7V00vuC0yP0SU6Q_4',
        'secretKey'    => '5SvAdizQq_dvxwV0ERHOaB_xhhp0vu-VtHyMFv5Q',
        'policy'        => [
            'audio' => [// 音频文件
                'mimeLimit' => 'audio/*',
                'fsizeLimit' => 10485760 * 5,// 10M = 10*1024*1024
            ],
            'img' => [// 用户头像
                'mimeLimit' => 'image/png,image/jpeg,image/gif',
                'fsizeLimit' => 10485760,// 10M = 10*1024*1024
            ],
            'video' => [// 不限制上传文件类型
                'mimeLimit' => '*/*',
                'fsizeLimit' => 10485760*10,// 100M
            ],
            'all' => [// 不限制上传文件类型
                'mimeLimit' => '*/*',
                'fsizeLimit' => 10485760*10,// 100M
            ],
        ],
    ],
    'local' => [
        'root_path' => "public",
        'path' => "uploads/tmpFile/",
        'size' => 5 * 1024 * 1024,
        'ext' => "jpg,png,gif",
    ],

];
